<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
    <h1>登录</h1>
    <p th:if="${error}" th:text="${error}" style="color: red;"></p>
    <form action="demo01//account/login" method="post">
        <label for="cardno">卡号:</label>
        <input type="text" id="cardno" name="cardno" required><br>
        <label for="password">密码:</label>
        <input type="password" id="password" name="password" required><br>
        <input type="submit" value="登录">
    </form>
</body>
</html>    